package cn.zwx.common.sentinel.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author zhangwenxue
 */
@Data
@ConfigurationProperties(prefix = "cn.zwx.sentinel")
public class ZwxSentinePropreties {

    /**
     * 是否开启全局限流
     */
    private boolean globalEnable = true;


    @Value("${spring.application.name}")
    private String appId;


}
